package irio.gamer;

import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.GridLayout;

import javax.swing.JPanel;
import javax.swing.JProgressBar;

public class ImageFrame extends JPanel {

    public GamerImage gamerImagePanel = new GamerImage("output/image.bmp", "Result (output/image.bmp)");
    public GamerImage previewPanel = new GamerImage("output/preview.bmp","Preview");

	public Preview preview = new Preview(previewPanel);
	public JProgressBar progressBar = new JProgressBar();

	
    

	
	public ImageFrame() {
		setLayout(new GridLayout(2,1));
		add(gamerImagePanel);
		add(previewPanel);
        
        preview.Update();
  //      setSize(600,600);

//        setSize(512,600);
//        gamerImagePanel.setSize( 400, 300 );
	}
	
	
}
